package com.lzy.business.response;

import java.io.Serializable;

/**
 * Created by WIN7 on 2017/12/15.
 */
public class EventResponse implements Serializable{

    private static final long serialVersionUID = -8555337835142521559L;
    private Long id;

    /**
     * 流程名称
     */
    private String name;

    /**
     * 来源（1-运营后台 2-第三方后台）
     */
    private Integer source;

    /**
     * 资源id
     */
    private Long resourceId;
    private String resourceName;
    private Long resourceSecId;//二级id
    private String resourceSecName;
    private Long resourceFristId;//三级id
    private String resourceFristName;

    /**
     * 状态（0-可用 1-不可用）
     */
    private Integer status;
    private String statusName;

    /**
     * 新增人id
     */
    private Long createUser;
    private String createTime;

    /**
     * 修改人id
     */
    private Long updateUser;
    private String updateTime;
    private Boolean deleted;
    private String sortArr;//流程审核人对应的步骤（82,83,88）
    private String idArr;//流程审核人id（82,83,88）
    private String nameArr;//流程审核人名称（admin1,admin2,admin3）
    private String processAssigneeName;//流程经办人（admin1/admin2➜admin3）

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getSortArr() {
        return sortArr;
    }

    public void setSortArr(String sortArr) {
        this.sortArr = sortArr;
    }

    public String getIdArr() {
        return idArr;
    }

    public void setIdArr(String idArr) {
        this.idArr = idArr;
    }

    public String getNameArr() {
        return nameArr;
    }

    public void setNameArr(String nameArr) {
        this.nameArr = nameArr;
    }

    public String getProcessAssigneeName() {
        return processAssigneeName;
    }

    public void setProcessAssigneeName(String processAssigneeName) {
        this.processAssigneeName = processAssigneeName;
    }

    public String getStatusName() {
        if (status == 0) {
            return "可用";
        } else if (status == 1) {
            return "不可用";
        }else{
            return"";
        }
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public Long getResourceSecId() {
        return resourceSecId;
    }

    public void setResourceSecId(Long resourceSecId) {
        this.resourceSecId = resourceSecId;
    }

    public Long getResourceFristId() {
        return resourceFristId;
    }

    public void setResourceFristId(Long resourceFristId) {
        this.resourceFristId = resourceFristId;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getResourceSecName() {
        return resourceSecName;
    }

    public void setResourceSecName(String resourceSecName) {
        this.resourceSecName = resourceSecName;
    }

    public String getResourceFristName() {
        return resourceFristName;
    }

    public void setResourceFristName(String resourceFristName) {
        this.resourceFristName = resourceFristName;
    }
}
